#pragma once

#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#include<string.h>
#include<assert.h>
#include<stdbool.h>
#include<stdlib.h>

typedef struct people
{
	char name[20];
	int age;
	char gender[10];
	char telephone[12];
	char address[20];
}people;

typedef struct contact
{
	people* data;
	int count;
	int capacity;
}contact;

void ContactInit(contact*pc);
void Add(contact* pc);
void SaveContact(contact* pc);
void Show(const contact* pc);